<?php
class SystemSettings extends Model
	{
		var $database_config = 'db_config_default';
		public $name = 'systemSettings';
		public $table_name = 't_system_settings';
		public $stored_procedure_list = 'sp_system_settings_list';
		public $stored_procedure_update = 'sp_system_settings_update';
		public $stored_procedure_get = 'sp_system_settings_get';
		public $stored_procedure_insert = 'sp_system_settings_insert';
		public $db_structure = array
		(
			'id' => array			
			(
				'name' => 'system_setting_id', 
				'type'=>'bigint',
				'primary_key'=>true,
				'not_null'=>true
			),

			'name' => array			
			(
				'name' => 'system_setting_name', 
				'type'=>'varchar',
				'length'=>'100',
				'not_null'=>true
			),

			'value' => array			
			(
				'name' => 'system_setting_value', 
				'type'=>'varchar',
				'length'=>'100',
				'not_null'=>true
			),

			'description' => array			
			(
				'name' => 'system_setting_description', 
				'type'=>'text',
				'not_null'=>false
			),			
		);
	}
?>